package com.iatinspur.context;

public class UserContext {
    private static final ThreadLocal<Object> THREAD_LOCAL = new ThreadLocal<>();

    public static Object get() {
        return THREAD_LOCAL.get();
    }


    public static void set(Object value) {
        THREAD_LOCAL.set(value);
    }


    public static void claer() {
        THREAD_LOCAL.remove();
    }

}
